package com.roc.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author FengHaiTao
 * 
 */
@Entity
@Table(name = "t_trans_register")
public class DiaoDanBean extends BaseBean  implements Serializable{

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "regSeq")
	@SequenceGenerator(name = "regSeq", sequenceName = "SEQ_REG")
	private long id;
	@Column(name = "org_code")
	private String orgcode; //机构号
	@Column(name = "agent_id")
	private String agentid; //代理商id
	@Column(name = "merchant_no")
	private String merchantno; //商户号
	@Column(name = "merchant_name")
	private String merchantname; //商户名称
	@Column(name = "acctno")
	private String acctno; //交易账号
	@Column(name = "trans_date")
	private String transdate; //交易日期
	@Column(name = "trans_time")
	private String transtime; //交易时间
	@Column(name = "termid")
	private String termid; //终端号
	@Column(name = "termtrace")
	private String termtrace; //终端流水号
	@Column(name = "etstrace")
	private String etstrace; //系统参考号
	@Column(name = "period")
	private String period; //批次号
	@Column(name = "trans_amt")
	private double transamt; //交易金额
	@Column(name = "etstrancode")
	private String etstrancode; //交易类型
	@Column(name = "respcode")
	private String respcode; //返回码
	@Column(name = "reversal")
	private String reversal; //撤销处理状态
	@Column(name = "mcc")
	private String mcc; //mcc码
	@Column(name = "status")
	private String status; //状态
	@Column(name = "start_date")
	private String startdate; //发起时间
	@Column(name = "end_date")
	private String enddate; //最后提交时间
	@Column(name = "ticket_url")
	private String ticket_url; //小票的url
	@Column(name = "settle_orderno")
	private String settleorderno; //结算流水号
	@Column(name = "reak")
	private String reak; //结算流水号
	@Column(name = "types")
	private String types;
	@Column(name = "ACCOUNTNO")//卡号
	private String accontno;
	@Column(name = "DDAMOUNT")//调单金额
	private double DDamount;
	@Column(name = "FROZENAMOUNT")//冻结金额
	private double frozenAmount;
	@Column(name = "UNFROZENAMOUNT")//未冻结金额
	private double unFrozenAmount;
	@Transient
	private String commmode;
	@Transient
	private String commrate;
	@Transient
	private String commamt;
	@Transient
	private long cacluamount;//清算金额
	@Transient
	private long merfee;//手续费
	
	
	
	
	public long getMerfee() {
		return merfee;
	}
	public void setMerfee(long merfee) {
		this.merfee = merfee;
	}
	public long getCacluamount() {
		return cacluamount;
	}
	public void setCacluamount(long cacluamount) {
		this.cacluamount = cacluamount;
	}

	public double getDDamount() {
		return DDamount;
	}
	public void setDDamount(double damount) {
		DDamount = damount;
	}
	public double getFrozenAmount() {
		return frozenAmount;
	}
	public void setFrozenAmount(double frozenAmount) {
		this.frozenAmount = frozenAmount;
	}
	public double getUnFrozenAmount() {
		return unFrozenAmount;
	}
	public void setUnFrozenAmount(double unFrozenAmount) {
		this.unFrozenAmount = unFrozenAmount;
	}
	public String getAccontno() {
		return accontno;
	}
	public void setAccontno(String accontno) {
		this.accontno = accontno;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getOrgcode() {
		return orgcode;
	}
	public void setOrgcode(String orgcode) {
		this.orgcode = orgcode;
	}
	public String getAgentid() {
		return agentid;
	}
	public void setAgentid(String agentid) {
		this.agentid = agentid;
	}
	public String getMerchantno() {
		return merchantno;
	}
	public void setMerchantno(String merchantno) {
		this.merchantno = merchantno;
	}
	public String getMerchantname() {
		return merchantname;
	}
	public void setMerchantname(String merchantname) {
		this.merchantname = merchantname;
	}
	public String getAcctno() {
		return acctno;
	}
	public void setAcctno(String acctno) {
		this.acctno = acctno;
	}
	public String getTransdate() {
		return transdate;
	}
	public void setTransdate(String transdate) {
		this.transdate = transdate;
	}
	public String getTranstime() {
		return transtime;
	}
	public void setTranstime(String transtime) {
		this.transtime = transtime;
	}
	public String getTermid() {
		return termid;
	}
	public void setTermid(String termid) {
		this.termid = termid;
	}
	public String getTermtrace() {
		return termtrace;
	}
	public void setTermtrace(String termtrace) {
		this.termtrace = termtrace;
	}
	public String getEtstrace() {
		return etstrace;
	}
	public void setEtstrace(String etstrace) {
		this.etstrace = etstrace;
	}

	public double getTransamt() {
		return transamt;
	}
	public void setTransamt(double transamt) {
		this.transamt = transamt;
	}
	public void setTransamt(long transamt) {
		this.transamt = transamt;
	}
	public String getEtstrancode() {
		return etstrancode;
	}
	public void setEtstrancode(String etstrancode) {
		this.etstrancode = etstrancode;
	}
	public String getRespcode() {
		return respcode;
	}
	public void setRespcode(String respcode) {
		this.respcode = respcode;
	}
	public String getReversal() {
		return reversal;
	}
	public void setReversal(String reversal) {
		this.reversal = reversal;
	}
	public String getMcc() {
		return mcc;
	}
	public void setMcc(String mcc) {
		this.mcc = mcc;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getStartdate() {
		return startdate;
	}
	public void setStartdate(String startdate) {
		this.startdate = startdate;
	}
	public String getEnddate() {
		return enddate;
	}
	public void setEnddate(String enddate) {
		this.enddate = enddate;
	}
	public String getTicket_url() {
		return ticket_url;
	}
	public void setTicket_url(String ticket_url) {
		this.ticket_url = ticket_url;
	}
	public String getSettleorderno() {
		return settleorderno;
	}
	public void setSettleorderno(String settleorderno) {
		this.settleorderno = settleorderno;
	}
	public String getCommmode() {
		return commmode;
	}
	public void setCommmode(String commmode) {
		this.commmode = commmode;
	}
	public String getCommrate() {
		return commrate;
	}
	public void setCommrate(String commrate) {
		this.commrate = commrate;
	}
	public String getCommamt() {
		return commamt;
	}
	public void setCommamt(String commamt) {
		this.commamt = commamt;
	}
	public String getPeriod() {
		return period;
	}
	public void setPeriod(String period) {
		this.period = period;
	}
	public String getReak() {
		return reak;
	}
	public void setReak(String reak) {
		this.reak = reak;
	}
	public String getTypes() {
		return types;
	}
	public void setTypes(String types) {
		this.types = types;
	}
	  
}
